package com.arc.spring.service.impl;

import com.arc.spring.dao.EmpDao;
import com.arc.spring.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author YangYunhe
 * @date 2025/1/1
 * @description
 */
@Service
public class EmpServiceImpl implements EmpService {

    @Autowired
    private EmpDao empDao;

    @Override
    public int addEmp(int empNo, String empName, String job) {
        return empDao.addEmp(empNo, empName, job);
    }
}
